﻿namespace System
{
  public class BoxDataMsg : IMessage
  {
    public BoxDataMsg(byte[] rawData)
    {
      RawData = rawData;
    }

    public byte[] RawData { get; }

    public override string ToString()
    {
      return $"{DateTime.Now.ToString("HH:mm:ss.fff")} {nameof(BoxDataMsg)} {BitConverter.ToString(RawData)}";
    }
  }
}